package com.qt.thread;

/**
 * @Author zsf
 * @Date 2023/10/3 1:43
 * @Version 1.0
 */
public class SynchronizedDemo02 {

    public static void main(String[] args) {

        MyCallableTicket sd = new MyCallableTicket();

        Thread t1 = new Thread(sd,"窗口1");
        Thread t2 = new Thread(sd,"窗口2");
        Thread t3 = new Thread(sd,"窗口3");

        t1.start();
        t2.start();
        t3.start();


    }

}
